using UnityEngine;

public class DestoyAfterDelay : MonoBehaviour
{
	public void StartTimer(float val)
	{
		Invoke("remove", val);
	}

	private void remove()
	{
		Object.Destroy(base.gameObject);
	}
}
